﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Guoc.DAL.Domain
{
   //枚举类

   /// <summary>
   /// 操作符
   /// </summary>
   public enum Operator 
    { 
       GreaterThan, 
       GreaterThanAndEqual,
       LessThan,
       LessThanAndEqual,
       Equal,
       /// <summary>
       /// 数字  in 操作
       /// </summary>
       InNumber,
       /// <summary>
       /// 字符串 in 操作
       /// </summary>
       InVarchar,
       Like       
    }
    /// <summary>
    /// 字段类型
    /// </summary>
   public enum FieldType { 
       /// <summary>
       ///  字符串
       /// </summary>
       Varchar,
       /// <summary>
       /// 数字类型
       /// </summary>
       Number,
       /// <summary>
       /// 日期类型
       /// </summary>
       DateTime,
       Bool,
       /// <summary>
       /// 逗号分隔字符串列表类型,列表类型操作符只能是InNumber 或者InVarchar
       /// </summary>
       List
   }
}
